﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	
	<Style x:Key="CollapsedWhenNull">
	    <Style.Triggers>
	        <DataTrigger Binding="{Binding}" Value="{x:Null}">
	            <Setter Property="FrameworkElement.Visibility" Value="Collapsed"/>
	        </DataTrigger>
	    </Style.Triggers>
	</Style>
</ResourceDictionary>